package cn.caplike.demo;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author LiKe
 * @version 1.0.0
 * @date 2020-02-05 11:16
 */
@Configuration
@EnableConfigurationProperties(CustomProperties.class)
public class CustomAutoConfiguration {

    @Bean
    public CustomService customService() {
        return new CustomService();
    }

}
